-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(linux): improve compatibility with Gentoo Linux 🏠 #12889
Conversation
User Test ResultsTest specification and instructions User tests are not required Test Artifacts |
8782634
to
4f65a41
Compare
4f65a41
to
52f3d4f
Compare
Gentoo doesn't use systemd. `libelogind` or `basu` implement some aspects of systemd, so we use that on Gentoo (or rather when `libsystemd` is not available but `libelogind` or `basu` is). Patch from https://forums.gentoo.org/viewtopic.php?p=8850566. See also https://community.software.sil.org/t/keyman-for-gentoo-linux/9615.
52f3d4f
to
76206c6
Compare
# Gentoo can use libelogind or basu | ||
systemd = dependency('basu') | ||
conf.set('DBUS_IMPLEMENTATION', 'BASU') | ||
endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a failure if none of these are available?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the dependency
function has an implicit required: true
parameter. But probably good to add it anyways to make it clearer.
`required: true` is the default for the meson `dependency` function, but it's easy to miss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Gentoo doesn't use systemd. `libelogind` or `basu` implement some aspects of systemd, so we use that on Gentoo (or rather when `libsystemd` is not available but `libelogind` or `basu` is). Patch from https://forums.gentoo.org/viewtopic.php?p=8850566. See also https://community.software.sil.org/t/keyman-for-gentoo-linux/9615. Cherry-pick-of: #12889
Gentoo doesn't use systemd.
libelogind
orbasu
implement some aspects of systemd, so we use that on Gentoo (or rather whenlibsystemd
is not available butlibelogind
orbasu
is).Patch from https://forums.gentoo.org/viewtopic.php?p=8850566.
See also https://community.software.sil.org/t/keyman-for-gentoo-linux/9615.
@keymanapp-test-bot skip